/* ==========================================================================
   Component: Button
 ============================================================================ */
.am-btn {
	display: inline-block;
	margin-bottom: 0;
	padding: 0.625em 1em;
	vertical-align: middle;
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 0;
	cursor: pointer;
	outline: 0;
	-webkit-appearance: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: background-color 300ms ease-out, border-color 300ms ease-out;
	transition: background-color 300ms ease-out, border-color 300ms ease-out;
}

.am-btn:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.am-btn:hover,
.am-btn:focus {
	outline: 0;
	color: #444444;
	text-decoration: none;
}

.am-btn:active,
.am-btn.am-active {
	background-image: none;
	-webkit-box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.125);
	box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.125);
}

.am-btn.am-disabled,
.am-btn[disabled],
fieldset[disabled] .am-btn {
	pointer-events: none;
	border-color: transparent;
	cursor: not-allowed;
	opacity: 0.45;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.am-btn.am-round {
	border-radius: 1000px;
}

.am-btn.am-radius {
	border-radius: 2px;
}

.am-btn-default {
	color: #444444;
	background-color: #e6e6e6;
	border-color: #e6e6e6;
}

.am-btn-default:hover,
.am-btn-default:focus,
.am-btn-default:active,
.am-btn-default.am-active,
.am-active .am-dropdown-toggle.am-btn-default {
	color: #444444;
	background-color: #c7c7c7;
	border-color: #c7c7c7;
}

.am-btn-default:active,
.am-btn-default.am-btn-active,
.am-active .am-dropdown-toggle.am-btn-default {
	background-image: none;
}

.am-btn-default.am-disabled,
.am-btn-default[disabled],
fieldset[disabled] .am-btn-default,
.am-btn-default.am-disabled:hover,
.am-btn-default[disabled]:hover,
fieldset[disabled] .am-btn-default:hover,
.am-btn-default.am-disabled:focus,
.am-btn-default[disabled]:focus,
fieldset[disabled] .am-btn-default:focus,
.am-btn-default.am-disabled:active,
.am-btn-default[disabled]:active,
fieldset[disabled] .am-btn-default:active,
.am-btn-default.am-disabled.am-btn-active,
.am-btn-default[disabled].am-btn-active,
fieldset[disabled] .am-btn-default.am-btn-active {
	background-color: #e6e6e6;
	border-color: #e6e6e6;
}

.am-btn-group .am-btn-default,
.am-btn-group-stacked .am-btn-default {
	border-color: #d9d9d9;
}

.am-btn-primary {
	color: #ffffff;
	background-color: #0e90d2;
	border-color: #0e90d2;
}

.am-btn-primary:hover,
.am-btn-primary:focus,
.am-btn-primary:active,
.am-btn-primary.am-active,
.am-active .am-dropdown-toggle.am-btn-primary {
	color: #ffffff;
	background-color: #0a6999;
	border-color: #0a6999;
}

.am-btn-primary:active,
.am-btn-primary.am-btn-active,
.am-active .am-dropdown-toggle.am-btn-primary {
	background-image: none;
}

.am-btn-primary.am-disabled,
.am-btn-primary[disabled],
fieldset[disabled] .am-btn-primary,
.am-btn-primary.am-disabled:hover,
.am-btn-primary[disabled]:hover,
fieldset[disabled] .am-btn-primary:hover,
.am-btn-primary.am-disabled:focus,
.am-btn-primary[disabled]:focus,
fieldset[disabled] .am-btn-primary:focus,
.am-btn-primary.am-disabled:active,
.am-btn-primary[disabled]:active,
fieldset[disabled] .am-btn-primary:active,
.am-btn-primary.am-disabled.am-btn-active,
.am-btn-primary[disabled].am-btn-active,
fieldset[disabled] .am-btn-primary.am-btn-active {
	background-color: #0e90d2;
	border-color: #0e90d2;
}

.am-btn-group .am-btn-primary,
.am-btn-group-stacked .am-btn-primary {
	border-color: #0c80ba;
}

.am-btn-warning {
	color: #ffffff;
	background-color: #f37b1d;
	border-color: #f37b1d;
}

.am-btn-warning:hover,
.am-btn-warning:focus,
.am-btn-warning:active,
.am-btn-warning.am-active,
.am-active .am-dropdown-toggle.am-btn-warning {
	color: #ffffff;
	background-color: #c85e0b;
	border-color: #c85e0b;
}

.am-btn-warning:active,
.am-btn-warning.am-btn-active,
.am-active .am-dropdown-toggle.am-btn-warning {
	background-image: none;
}

.am-btn-warning.am-disabled,
.am-btn-warning[disabled],
fieldset[disabled] .am-btn-warning,
.am-btn-warning.am-disabled:hover,
.am-btn-warning[disabled]:hover,
fieldset[disabled] .am-btn-warning:hover,
.am-btn-warning.am-disabled:focus,
.am-btn-warning[disabled]:focus,
fieldset[disabled] .am-btn-warning:focus,
.am-btn-warning.am-disabled:active,
.am-btn-warning[disabled]:active,
fieldset[disabled] .am-btn-warning:active,
.am-btn-warning.am-disabled.am-btn-active,
.am-btn-warning[disabled].am-btn-active,
fieldset[disabled] .am-btn-warning.am-btn-active {
	background-color: #f37b1d;
	border-color: #f37b1d;
}

.am-btn-group .am-btn-warning,
.am-btn-group-stacked .am-btn-warning {
	border-color: #ea6e0c;
}

.am-btn-danger {
	color: #ffffff;
	background-color: #dd514c;
	border-color: #dd514c;
}

.am-btn-danger:hover,
.am-btn-danger:focus,
.am-btn-danger:active,
.am-btn-danger.am-active,
.am-active .am-dropdown-toggle.am-btn-danger {
	color: #ffffff;
	background-color: #c62b26;
	border-color: #c62b26;
}

.am-btn-danger:active,
.am-btn-danger.am-btn-active,
.am-active .am-dropdown-toggle.am-btn-danger {
	background-image: none;
}

.am-btn-danger.am-disabled,
.am-btn-danger[disabled],
fieldset[disabled] .am-btn-danger,
.am-btn-danger.am-disabled:hover,
.am-btn-danger[disabled]:hover,
fieldset[disabled] .am-btn-danger:hover,
.am-btn-danger.am-disabled:focus,
.am-btn-danger[disabled]:focus,
fieldset[disabled] .am-btn-danger:focus,
.am-btn-danger.am-disabled:active,
.am-btn-danger[disabled]:active,
fieldset[disabled] .am-btn-danger:active,
.am-btn-danger.am-disabled.am-btn-active,
.am-btn-danger[disabled].am-btn-active,
fieldset[disabled] .am-btn-danger.am-btn-active {
	background-color: #dd514c;
	border-color: #dd514c;
}

.am-btn-group .am-btn-danger,
.am-btn-group-stacked .am-btn-danger {
	border-color: #d93c37;
}

.am-btn-success {
	color: #ffffff;
	background-color: #5eb95e;
	border-color: #5eb95e;
}

.am-btn-success:hover,
.am-btn-success:focus,
.am-btn-success:active,
.am-btn-success.am-active,
.am-active .am-dropdown-toggle.am-btn-success {
	color: #ffffff;
	background-color: #429842;
	border-color: #429842;
}

.am-btn-success:active,
.am-btn-success.am-btn-active,
.am-active .am-dropdown-toggle.am-btn-success {
	background-image: none;
}

.am-btn-success.am-disabled,
.am-btn-success[disabled],
fieldset[disabled] .am-btn-success,
.am-btn-success.am-disabled:hover,
.am-btn-success[disabled]:hover,
fieldset[disabled] .am-btn-success:hover,
.am-btn-success.am-disabled:focus,
.am-btn-success[disabled]:focus,
fieldset[disabled] .am-btn-success:focus,
.am-btn-success.am-disabled:active,
.am-btn-success[disabled]:active,
fieldset[disabled] .am-btn-success:active,
.am-btn-success.am-disabled.am-btn-active,
.am-btn-success[disabled].am-btn-active,
fieldset[disabled] .am-btn-success.am-btn-active {
	background-color: #5eb95e;
	border-color: #5eb95e;
}

.am-btn-group .am-btn-success,
.am-btn-group-stacked .am-btn-success {
	border-color: #4db14d;
}

.am-btn-secondary {
	color: #ffffff;
	background-color: #3bb4f2;
	border-color: #3bb4f2;
}

.am-btn-secondary:hover,
.am-btn-secondary:focus,
.am-btn-secondary:active,
.am-btn-secondary.am-active,
.am-active .am-dropdown-toggle.am-btn-secondary {
	color: #ffffff;
	background-color: #0f9ae0;
	border-color: #0f9ae0;
}

.am-btn-secondary:active,
.am-btn-secondary.am-btn-active,
.am-active .am-dropdown-toggle.am-btn-secondary {
	background-image: none;
}

.am-btn-secondary.am-disabled,
.am-btn-secondary[disabled],
fieldset[disabled] .am-btn-secondary,
.am-btn-secondary.am-disabled:hover,
.am-btn-secondary[disabled]:hover,
fieldset[disabled] .am-btn-secondary:hover,
.am-btn-secondary.am-disabled:focus,
.am-btn-secondary[disabled]:focus,
fieldset[disabled] .am-btn-secondary:focus,
.am-btn-secondary.am-disabled:active,
.am-btn-secondary[disabled]:active,
fieldset[disabled] .am-btn-secondary:active,
.am-btn-secondary.am-disabled.am-btn-active,
.am-btn-secondary[disabled].am-btn-active,
fieldset[disabled] .am-btn-secondary.am-btn-active {
	background-color: #3bb4f2;
	border-color: #3bb4f2;
}

.am-btn-group .am-btn-secondary,
.am-btn-group-stacked .am-btn-secondary {
	border-color: #23abf0;
}
/* Style links like a button */
.am-btn-link {
	color: #0e90d2;
	font-weight: normal;
	cursor: pointer;
	border-radius: 0;
}

.am-btn-link,
.am-btn-link:active,
.am-btn-link[disabled],
fieldset[disabled] .am-btn-link {
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.am-btn-link,
.am-btn-link:hover,
.am-btn-link:focus,
.am-btn-link:active {
	border-color: transparent;
}

.am-btn-link:hover,
.am-btn-link:focus {
	color: #095f8a;
	text-decoration: underline;
	background-color: transparent;
}

.am-btn-link[disabled]:hover,
fieldset[disabled] .am-btn-link:hover,
.am-btn-link[disabled]:focus,
fieldset[disabled] .am-btn-link:focus {
	color: #999999;
	text-decoration: none;
}
/* button size */
.am-btn-xs {
	font-size: 0.8rem;
}

.am-btn-sm {
	font-size: 1.4rem;
}

.am-btn-lg {
	font-size: 1.8rem;
}

.am-btn-xl {
	font-size: 2rem;
}
/* Block button  */
.am-btn-block {
	display: block;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
/* Multiple block buttons vertically space */
.am-btn-block + .am-btn-block {
	margin-top: 5px;
}
/* Specificity overrides */
input[type="submit"].am-btn-block,
input[type="reset"].am-btn-block,
input[type="button"].am-btn-block {
	width: 100%;
}
/* Button with loading spinner */
.am-btn.am-btn-loading .am-icon-spin {
	margin-right: 5px;
}